package cn.itcast.test;

import org.springframework.context.support.ClassPathXmlApplicationContext;

import java.io.IOException;

public class CompanyProvider {

	public static void main(String[] args) throws IOException {
		ClassPathXmlApplicationContext ac =
				new ClassPathXmlApplicationContext(
						"classpath*:spring/applicationContext-*.xml");
		//启动容器
		ac.start();
		//输入任意退出
		System.in.read();
	}
}
